<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8" />
<title>ipr服务平台</title>
<link rel="stylesheet" href="/ipr-s/layui/css/layui.css" />
<link rel="stylesheet" href="/ipr-s/css/global.css" />
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript" src="/ipr-s/layui/layui.js"></script>
</head>

<body>
	<div class="layui-header header header-doc"
		style="background-color: #009688 !important;">
		<div class="layui-main">
			<a class="logo" href="/ipr-s/enterprise_index">
				<img src="/ipr-s/img/ipr-logo-hkwwt-cut.png" />
			</a>
			<div class="layui-form component">
				<div class="layui-form-select">
					<div class="layui-form-select">
						<input type="text" placeholder="abc" value class="layui-input" />
						<i class="layui-edge"></i>
					</div>

				</div>
			</div>
			<ul class="layui-nav layui-bg-green">
				<li class="layui-nav-item "><a
					href="/ipr-s/enterprise_announce">发布招聘信息 <!-- <span class="layui-badge-dot"></span> --></a>
				</li>
				<li class="layui-nav-item layui-this"><a
					href="/ipr-s/enterprise_resume">浏览简历 <!-- <span class="layui-badge-dot"></span> --></a>
				</li>
				<li class="layui-nav-item "><a href="/demo/">预约面试 <!-- <span class="layui-badge-dot"></span> --></a>
				</li>
				<li class="layui-nav-item "><a href="/demo/">签约反馈 <!-- <span class="layui-badge-dot"></span> --></a>
				</li>

				<li class="layui-nav-item  ">
					<!--<span class="layui-badge-dot" style="margin: -4px 3px 0;"></span>-->
					<a href="javascript:;">登陆</a>
					<dl class="layui-nav-child">
						<dd class="  layui-show-xs">
							<a href="http://fly.layui.com/" target="_blank">修改信息</a>
							<!--<hr>-->
						</dd>
						<dd>
							<a href="http://layim.layui.com/" target="_blank">退出</a>
						</dd>

					</dl>
				</li>

			</ul>

		</div>
	</div>
	</div>

	<div id="index-main" class="layui-container">

		<div class="layui-row">
			<div class="layui-col-md3">
				<div class="site-tree">
					<!--<ul class="layui-tree">
							<li>
								<h2>测试一下</h2>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
							<li>
								<h2>突然分割</h2>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
							<li class="site-tree-noicon">
								<a href="/">
									<cite>开始使用</cite>
									<em>Getting Started</em>
								</a>
							</li>
						</ul>-->

				</div>

			</div>
			<div class="layui-col-md9">
				<hr class="layui-bg-orange" />
				<blockquote class="layui-elem-quote">浏览简历：</blockquote>
				<div id="search_nav"
					style="width: 960px; background-color: #FBFBFB;">
					<form class="layui-form" action="">
						<div class="layui-form-item layui-inline"
							style="margin-bottom: 0px">
							<label class="layui-form-label">期望工作地</label>
							<div class="layui-inline" id="city_1" style="padding: 10px">
								<select lay-ignore name="work_district_prov" class="prov ">

								</select> <label class="layui-inline">省</label> <select lay-ignore
									name="work_district_city" class="city " disabled="disabled">

								</select> <label class=" layui-inline">市</label>
							</div>
						</div>

						<div class="layui-form-item layui-inline"
							style="text-align: left; margin-bottom: 0px">
							<label class="layui-form-label"
								style="padding-left: 0px; text-align: left; width: auto;">年龄：</label>
							<div class="layui-inline">
								<input style="width: 50px; height: 30px;" type="text"
									name="age_min" placeholder="" autocomplete="off"
									class="layui-input">
							</div>
							<label class="layui">至</label>
							<div class="layui-inline">
								<input style="width: 50px; height: 30px;" type="text"
									name="age_max" placeholder="" autocomplete="off"
									class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-inline"
							style="text-align: left; margin-bottom: 0px;">
							<label class="layui-form-label"
								style="padding-left: 0px; text-align: left; width: auto;">关键字</label>
							<div class="layui-inline">
								<input style="height: 30px;" type="text" name="keywords"
									placeholder="请输入搜索关键字" autocomplete="off" class="layui-input">
							</div>
						</div>
						<div class="layui-form-item layui-inline"
							style="margin-bottom: 0px">
							<div class="layui-input-block" style="margin-left: 0px;">
								<button class="layui-btn" lay-submit
									lay-filter="enterprise_resume_search">搜索</button>
							</div>
						</div>

						<div class="layui-form-item layui-inline"
							style="margin-bottom: 0px">
							<label class="layui-form-label" id="search_label_toggle" flag="1"><a
								style="color: #009688 !important;">更多选项<i class="layui-icon"
									id="search_lable_icon">&#xe61a;</i></a></label>
						</div>

						<div id="search_more" style="display: none;">
							<div class="layui-form-item" style="margin-bottom: 0px">
								<label class="layui-form-label">性别：</label>
								<div class="layui-input-block">
									<input type="radio" name="sex" value="不限" title="不限" checked>
									<input type="radio" name="sex" value="男" title="男"> <input
										type="radio" name="sex" value="女" title="女">
								</div>
							</div>

							<div class="layui-form-item" style="margin-bottom: 0px">
								<label class="layui-form-label">工作经验：</label>
								<div class="layui-input-block">
									<input type="radio" name="work_experience" value="不限" title="不限" checked> 
							        <input type="radio" name="work_experience" value="1年以下" title="1年以下">
								    <input type="radio"  name="work_experience"  value="1-3年" title="1-3年"> 
									<input type="radio"  name="work_experience" value="3-5年" title="3-5年"> 
									<input type="radio"  name="work_experience" value="5-10年" title="5-10年"> 
									<input type="radio"  name="work_experience" value="10年以上" title="10年以上"> 
								</div>
							</div>

							<div class="layui-form-item"
								style="margin-bottom: 0px; max-width: 840px">
								<label class="layui-form-label">最低学历：</label>
								<div class="layui-input-block">
									<input type="radio" name="education_min" value="不限" title="不限"
										checked> <input type="radio" name="education_min"
										value="初中及以上" title="初中及以上"> <input type="radio"
										name="education_min" value="中技及以上" title="中技及以上"> <input
										type="radio" name="education_min" value="高中及以上" title="高中及以上">
									<input type="radio" name="education_min" value="中专及以上"
										title="中专及以上"> <input type="radio"
										name="education_min" value="大专及以上" title="大专及以上"> <input
										type="radio" name="education_min" value="本科及以上" title="本科及以上">
									<input type="radio" name="education_min" value="硕士及以上"
										title="硕士及以上"> <input type="radio"
										name="education_min" value="博士及以上" title="博士及以上">
								</div>
							</div>



						</div>
					</form>

				</div>

				<!--
                	作者：cl
                	时间：2018-04-21
                	描述：简历详细列表。哇 简历是个什么东西啊
                -->
				<hr class="layui-bg-orange" />

				<table id="ruseme_table" lay-filter="resume"></table>
				<script>
layui.use('table', function(){
  var table = layui.table;
  
  //第一个实例
  table.render({
	    elem: '#ruseme_table'
	    ,height: 315
	    ,url: '/ipr-s/view_resume' //数据接口
	    ,page: true //开启分页
	    ,cols: [[ //表头
	      {field: 'resume_id', title: 'ID', width:80, sort: true, fixed: 'left'}
	      ,{field: 'resume_post_author', title: '用户名', width:80}
	      ,{field: 'sex', title: '性别', width:80, sort: true}
	      ,{field: 'expect_work_district_prov', title: '省', width:80} 
	      ,{field: 'expect_work_district_city', title: '城市', width: 177}
	      ,{field: 'experience', title: '积分', width: 80, sort: true}
	      ,{field: 'score', title: '评分', width: 80, sort: true}
	      ,{field: 'classify', title: '职业', width: 80}
	      ,{field: 'wealth', title: '财富', width: 135, sort: true}
	    ]]
	  });
  
});
</script>
			</div>
			<script>
					$(document).ready(function() {
						$("#search_label_toggle").click(function() {
							//改变上下箭头
							if($("#search_label_toggle").attr("flag") == "1") {
								$("#search_lable_icon").html("&#xe619;");
								$("#search_label_toggle").attr("flag", "2");
								$("#search_more").fadeToggle();
							} else {
								$("#search_lable_icon").html("&#xe61a;");
								$("#search_label_toggle").attr("flag", "1");
								$("#search_more").fadeToggle();
							}

						})

					});
				</script>
			<script>
					layui.use(['element', 'layer'], function() {
						var element = layui.element;
						var layer = layui.layer;

						//监听折叠
						element.on('collapse(test)', function(data) {
							layer.msg('展开状态：' + data.show);
						});
					});
				</script>
			<script>
					//注意：导航 依赖 element 模块，否则无法进行功能性操作
					layui.use('element', function() {
						var element = layui.element;

						//…
					});
					layui.use('layer', function() {

					var layer = layui.layer;
					 layer.open({
					type: 2,
						area: ['432px', '232px'],
						title: '登陆',
						 content: ['/ipr-s/login', 'no'], 
						success: function(layero, index) {
							var body = layer.getChildFrame('body', index);
							var iframeWin = window[layero.find('iframe')[0]['name']]; //得到iframe页的窗口对象，执行iframe页的方法：iframeWin.method();
							console.log(body.html()) //得到iframe页的body内容
							/*body.find('input').val('Hi，我是从父页来的')*/

						}
					});

					})
				</script>
			<script>
					//Demo
					layui.use('form', function() {
						var form = layui.form;

						//监听提交
						form.on('submit(enterprise_resume_search)', function(data) {
							layer.msg(JSON.stringify(data.field));
							console.log(JSON.stringify(data.field));
							
							 //重载表格
							 layui.use('table', function(){
  							 var table = layui.table;
   
  //第一个实例
/*    */
  
});
							
							
							
							return false;
						});
					});
				</script>
			<script type="text/javascript" src="/ipr-s/js/jquery.cityselect.js"></script>
			<script type="text/javascript">
					$(function() {
						$("#city_1").citySelect({
							nodata: "none",
							required: false
						});
					})
				</script>
</body>

</html>